package com.imooc.eureka.controller;

import com.imooc.api.controller.user.HelloControllerApi;
import com.imooc.grace.result.GraceJSONResult;
import com.imooc.utils.RedisOperator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @Author : Kyle_Fu
 * @Date: 2023-08-07 20:43
 */
@RestController
public class HelloController implements HelloControllerApi {

    private final static Logger LOGGER = LoggerFactory.getLogger(HelloController.class);

    public Object hello(){
        return GraceJSONResult.ok("hello");
    }
}
